2020-03-09 04:17:23.743832 by Unknown

2020-03-09 04:17:23.743832 by Unknown

Author:Unknown
Format: epub
Tags: Programming Languages, JavaScript, Web, Web Programming
ISBN: 9781484201886


Listing 6-41. A Sample Generated Private Key

-----BEGIN RSA PRIVATE KEY-----

MIICXQIBAAKBgQDJW6ZZLTawfDyhR8v6/nQMX+PIGtPMO8n7OwRdv1AqqW7a+5Au

... truncated ...

0j/PimhgOvsD0TDxccytEsLgoldWcx4YLGjzDtoyyaVj

-----END RSA PRIVATE KEY-----

Next, we need to generate a corresponding public key, which you can do using the following command:

$ openssl req -x509 -new -key key.pem > cert.pem

Once you run this command, you will be asked a few questions, such as your country name, all of which have a straightforward answer. This creates a public certificate we can share with world that looks like the code in Listing 6-42.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.